package com.deepclassifieds.daas.api.xsd.impl;

import com.deepclassifieds.daas.api.xsd.Shard;

public class ShardImpl extends Shard {

	@Override
	public int hashCode() {
		return this.number;
	}

	@Override
	public boolean equals(Object obj) {
		if(this == obj) return true;
		if(obj instanceof ShardImpl) {
			return this.number == ((ShardImpl)obj).number;
		}
		return false;
	}

}
